What is TextIn?
TextIn is a server that supports any MCP protocol client, is a tool for extracting text and performing OCR on documents, including document text recognition, ID recognition, and invoice recognition. It also supports converting documents into Markdown format.
How to use TextIn MCP?
To use TextIn MCP, configure it in a compatible client like Cursor by copying your APP ID and APP SECRET and setting up the server command as specified in the documentation.
Use cases of TextIn MCP?
- Text recognition from images, Word documents, and PDF files.
- Convert images, PDFs, and Word documents to Markdown.
- Automatically and intelligently extract key information from documents.
Tools
-
recognition_text- Text recognition from images, Word documents, and PDF files.
- Inputs:
path(string, required):file pathora URL (HTTP/HTTPS) pointing to a document
- Return: Text of the document.
- Supports conversion for:
- Image (Jpeg, Jpg, Png, Bmp)
-
doc_to_markdown- Convert images, PDFs, and Word documents to Markdown.
- Inputs:
path(string, required):file pathora URL (HTTP/HTTPS) pointing to a document
- Return: Markdown of the document.
- Supports conversion for:
- Microsoft Office Documents (Word, Excel)
- Image (Jpeg, Jpg, Png, Bmp)
-
general_information_extration- Automatically identify and extract information from documents, or identify and extract user-specified information.
- Inputs:
path(string, required):file pathora URL (HTTP/HTTPS) pointing to a documentkey(string[], optional): The non-tabular text information that the user wants to identify, input format is an array of strings.table_header(string[], optional): The table information that the user wants to identify, input format is an array of strings.
- Return: The key information JSON.
- Supports conversion for:
- Microsoft Office Documents (Word, Excel)
- Image (Jpeg, Jpg, Png, Bmp)
When the input is a URL, it does not support handling access to protected resources.
FAQ from TextIn MCP?
-
How to register a TextIn account?
Click here to register for a free account.
-
Is there a limit to the number of requests I can make?
The usage limits depend on the APP ID and the specific service being used. Please refer to the TextIn documentation for details.
-
How do I obtain an API key?
Get TextIn APP_KEY and APP_SECRET by following the instructions here.
Server Config
{
"mcpServers": {
"textin-ocr": {
"command": "npx",
"args": [
"-y",
"@intsig/server-textin"
],
"env": {
"APP_ID": "<YOUR_APP_ID>",
"APP_SECRET": "<YOUR_APP_SECRET>",
"MCP_SERVER_REQUEST_TIMEOUT": "600000"
},
"timeout": 600
}
}
}